for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
const BaseController = require('./base')
BaseController
const Customer = require('../models/customer')
const Price = require('../models/price')
const MessageController = require('./message')
const AuthController = require('./auth')
module.exports.Customer = class CustomerController extends BaseController {
/** global: BaseController */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
constructor () {
super(Customer, '_id')
Customer
/** global: Customer */
}
module.exports.Price = class PriceController extends BaseController {
super(Price, '_id')
Price
/** global: Price */
module.exports.Message = MessageController
module.exports.Auth = AuthController